Use a GPid on gdk_spawn_on_screen[_with_pipes]. Take 2
authorJavier Jardón <jjardon@gnome.org>
Tue, 15 Jun 2010 15:16:43 +0000 (17:16 +0200)
committerJavier Jardón <jjardon@gnome.org>
Tue, 15 Jun 2010 15:16:43 +0000 (17:16 +0200)
Really fixes
https://bugzilla.gnome.org/show_bug.cgi?id=602289

gdk/gdkspawn.h

index 671219f993a20e0bbc0f75af7d07cb232b4f6420..cb7a2eac1656f9a6923b7d3fedde99547e1ffb06 100644 (file)
@@ -37,7 +37,7 @@ gboolean gdk_spawn_on_screen              (GdkScreen             *screen,
                                           GSpawnFlags            flags,
                                           GSpawnChildSetupFunc   child_setup,
                                           gpointer               user_data,
-                                          gint                  *child_pid,
+                                          GPid                  *child_pid,
                                           GError               **error);
 
 gboolean gdk_spawn_on_screen_with_pipes   (GdkScreen             *screen,
@@ -47,7 +47,7 @@ gboolean gdk_spawn_on_screen_with_pipes   (GdkScreen             *screen,
                                           GSpawnFlags            flags,
                                           GSpawnChildSetupFunc   child_setup,
                                           gpointer               user_data,
-                                          gint                  *child_pid,
+                                          GPid                  *child_pid,
                                           gint                  *standard_input,
                                           gint                  *standard_output,
                                           gint                  *standard_error,